//Admin.java
//Represents an Administrator

public class Admin {
	private int adminID; // Admin's ID
	private int adminPIN; // Admin's PIN

	// Admin constructor initializes attributes
	public Admin(int theAdminID, int theAdminPIN) {
		adminID = theAdminID;
		adminPIN = theAdminPIN;
	}
	// returns the adminID
	public int getAdminID() {
		return adminID;
	} // end method getAdminID

	// returns AdminPIN
	public int getAdminPIN(int userAdminPIN) {
		return getAdminPIN(userAdminPIN);
	} // end method getAdminPIN

	// method for validating adminPIN
	public boolean validatePIN(int pin) { // uses a boolean to return true/false
		if (adminPIN == pin)
			return true; // returns true if adminPin == pin
		else
			return false; // returns false if adminPin doesn't match
	} // end method validatePIN
}
